﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IToplistPrxHelper extends RMIProxyObject implements IToplistPrx
    {
        public static const NAME:String = "Message.Game.IToplist";

        public function IToplistPrxHelper()
        {
            name = "IToplist";
            return;
        }// end function

        public function getPraiseAndTrash_async(param1:AMI_IToplist_getPraiseAndTrash, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getPraiseAndTrash");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getToplist_async(param1:AMI_IToplist_getToplist, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("getToplist");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function kickPraise_async(param1:AMI_IToplist_kickPraise, param2:SEntityId, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("kickPraise");
            var _loc_6:* = new SerializeStream();
            param2.__write(_loc_6);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

    }
}
